package cn.hxlc.tie.demo.modular.jf.service;

import cn.hxlc.tie.demo.modular.jf.entity.XjfWorkOrder;
import cn.hxlc.tie.demo.modular.jf.entity.XjfWorkOrderEntry;
import cn.hxlc.tie.demo.modular.jf.model.params.XjfInStoreParam;
import cn.hxlc.tie.demo.modular.jf.model.params.XjfReportParam;
import cn.hxlc.tie.demo.modular.jf.model.params.XjfReqMaterialParam;
import cn.hxlc.tie.demo.modular.jf.model.params.XjfWorkOrderEntryParam;
import cn.hxlc.tie.demo.modular.jf.model.result.XjfWorkOrderEntryResult;
import cn.hxlc.tie.model.page.PageResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface XjfWorkOrderEntryService extends IService<XjfWorkOrderEntry> {

    XjfWorkOrderEntry detail(Long fid);

    XjfWorkOrderEntryResult queryByFmaterialId(Long fmaterialid);

//    XjfWorkOrderEntryResult findBySpec(XjfWorkOrderEntryParam param);

    void updateReqMaterial(XjfReqMaterialParam param);

    void updateReport(XjfReportParam param);

    void updateInStore(XjfInStoreParam param);

    void add(XjfWorkOrderEntryParam param);

    List<XjfWorkOrderEntryResult> queryEntry(Long fid);

    List<XjfWorkOrderEntryResult> findListBySpec(XjfWorkOrderEntryParam param);

    PageResult<XjfWorkOrderEntryResult> findPageBySpec(XjfWorkOrderEntryParam param);

    PageResult<XjfWorkOrderEntryResult> queryXdEntryListPage(XjfWorkOrderEntryParam param);

    PageResult<XjfWorkOrderEntryResult> queryInstoreEntryListPage(XjfWorkOrderEntryParam param);

}
